﻿namespace g_gongjianta
{
    public class BulletEvent : AbstractSkillEvent<TblSkill.BulletEvt>
    {
        public override void Awake(long t1, TblSkill.Conf t2, TblSkill.BulletEvt t3)
        {
            base.Awake(t1, t2, t3);

            Duration = t3.Duration == 0 ? t2.Duration : t3.Duration;
            IsComplete = false;
        }

        public override void Dispose()
        {
            if (IsDisposed) return;
            base.Dispose();
        }

        public override void Tick()
        {
            base.Tick();
        }

    }
}
